<template>
  <!-- 提示消息 -->
  <div class="tip-bubble">
    <div class="content" v-html="chat.content">
    </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue, Prop } from "vue-property-decorator";

@Component
export default class MessageTip extends Vue {

  @Prop({})
  chat: any;

  protected mounted() {

  }
}
</script>

<style lang="stylus" scoped>
.tip-bubble
  width 100%
  height auto
  display flex
  justify-content center
  align-items center
  padding 8px
  box-sizing: border-box;
  .content
    background #dedede
    padding 4px 10px
    color #575757
    font-size 12px
    border-radius 4px

</style>

